<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../lib/react.development.js"></script>
    <script src="../lib/react-dom.development.js"></script>
    <!-- 使用jsx-->
    <script src="../lib/babel.min.js"></script>
</head>
<!-- 2.创建一个舞台 -->
<div id="root">

</div>

<body>
    <script type="text/babel">
        const root = ReactDOM.createRoot(document.getElementById('root'));
        const oDiv = (
            <div className="wrapper">
                <div className="swiper">
                    <h3>我是轮播图</h3>
                    <p>我是文字</p>
                </div>
                <span>我是span</span>
                <span>我也是span</span>
            </div>
        )
        root.render(oDiv);
    </script>
</body>
</html>